package com.cenxi.common.base;

import lombok.Data;

import java.util.List;

/**
 * @author dijia
 * @date 2022/9/19
 */
@Data
public abstract class BaseTree<T,E extends BaseTree> {

    private T id;

    private T parentId;

    private List<E> children;

    private Integer sort=0;
}
